package com.wlps.vo.sendcenter.inoutform;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author ZWYZY
 * @since 2020/8/10
 */
@ApiModel(value = "商品出入库条件查询Vo")
@Data
public class CommodityInOutConditionVo {
    @ApiModelProperty(value = "商品名称")
    private String commodityName;
    @ApiModelProperty(value = "供应商名称")
    private String supplierName;

//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")//数据库导出页面时json格式化
    @ApiModelProperty(value = "开始时间")
    private Date startTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")//数据库导出页面时json格式化
    @ApiModelProperty(value = "结束时间")
    private Date endTime;
}
